package com.yidian.pojo.order;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author whb
 * @create 2021-08-26 09:35
 * @desciption 订单列表实体类
 */
@Table(name = "tb_order_item")
@Data
public class OrderItem implements Serializable {
    @Id
    private String id;//ID

    private Integer categoryId1;//1级分类

    private Integer categoryId2;//2级分类

    private Integer categoryId3;//3级分类

    private String spuId;//SPU_ID

    private String skuId;//SKU_ID

    private String orderId;//订单ID

    private String name;//商品名称

    private Integer price;//单价

    private Integer num;//数量

    private Integer money;//总金额

    private Integer payMoney;//实付金额

    private String image;//图片地址

    private Integer weight;//重量

    private Integer postFee;//运费

    private String isReturn;//是否退货
}
